home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 3 / Cream of the Crop 3.iso / clipper / ks94an.zip / CRYPTOHI.HDR < prev    next >
Text File  |  1994-04-25  |  1KB  |  47 lines

  1. /*****************************************************************************
  2.  The Klipper Library, By Kirby L. Wallace.  Copyright (c), 1986-1992
  3.              Wallace Information Systems Engineering
  4.  
  5.  
  6. FUNCTION:
  7.  
  8. _CryptoHI( @cString, cKey ) --> NIL
  9.  
  10. PARAMETERS:
  11.  
  12. cString: String to be encrypted
  13. cKey   : Encryption key
  14.  
  15. DESCRIPTION:
  16.  
  17. _CryptoHI() is an encryption function that offers medium
  18. to "fairly sophisticated" security in favour of "fairly
  19. sophisticated" speed.
  20.  
  21. Security and speed are proportionate to each other.  The more
  22. secure, the more time consuming the encryption.  So as you move
  23. up in levels of security, you typically move down in speed of
  24. encryption.
  25.  
  26. Security is a relative term.  Defeating it depends upon skill
  27. of the cracker.  It is important to remember that there are
  28. no 100% fool-proof security systems (no matter what Bill Clinton
  29. and his CLIPPER (chip) administration personnel say.)
  30.  
  31. NOTE: cString MUST be passed to _Crypto() BY REFERENCE.  Failure
  32. to do so may yield unpredictable results.
  33.  
  34. EXAMPLE:
  35.  
  36. t = "STOP!  Or I shall shout 'STOP!' at you again."
  37.  
  38. _Crypto(@t,'PASSWORD')
  39.  
  40.     Result: t now contains encrypted gibberish.
  41.  
  42. _Crypto(@t,'PASSWORD')
  43.  
  44.     Result: t now contains it's original value
  45.  
  46. ******************************************************************************/
  47.